package com.yxym.homework04;

public class Employee {
    private String name;
    private double basicSalary;
    private double grade;

    public Employee(String name, double basicSalary, double grade) {
        this.name = name;
        this.basicSalary = basicSalary;
        this.grade = grade;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getBasicSalary() {
        return basicSalary;
    }

    public void setBasicSalary(double basicSalary) {
        this.basicSalary = basicSalary;
    }

    public double getGrade() {
        return grade;
    }

    public void setGrade(double grade) {
        this.grade = grade;
    }
    public void printSalary(){
        System.out.println(getName() + "\t" +
                "基本工资:" + getBasicSalary());
    }

}
